package com.ybkj.takeout.client.dto;

import cn.changeforyou.location.Point;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ybkj.takeout.ams.entity.ShopActivity;
import com.ybkj.takeout.sms.entity.Shop;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;

@Data
public class ShopDTO extends Shop {

    @ApiModelProperty("距离 单位：米")
    private Integer distance;

    @ApiModelProperty("配送时间 单位：分钟")
    private Integer sendTime;

    @ApiModelProperty("当前距离配送价格")
    private BigDecimal sendPrice;

    @ApiModelProperty("店铺活动列表")
    private List<ShopActivity> activityList;

    @ApiModelProperty("最低折扣")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String minDiscount;

    @ApiModelProperty("标准配送距离, 单位米")
    private Integer standardDistributionDistance;

    @ApiModelProperty("最大配送距离, 单位米")
    private Integer maxDistributionDistance;

    @ApiModelProperty(value = "营业执照图片")
    private String businessImg;

    @ApiModelProperty(value = "餐饮服务许可证图片")
    private String licenseImg;

    @ApiModelProperty(value = "店铺门脸图(店铺外景图)")
    private String shopOutsideImgUrl;

    @ApiModelProperty(value = "店铺环境图(店铺内景图图)")
    private String shopInsideImgUrl;

    @ApiModelProperty(value = "店铺牌匾图地址")
    private String plaqueUrl;

    @ApiModelProperty("商家地址")
    private String address;

    @ApiModelProperty("经纬度")
    private Point location;

    @ApiModelProperty("经纬度")
    private Point location;
}

